package com.example.demo.dao;

import com.example.demo.po.WxUserAddress;
import org.apache.ibatis.annotations.Mapper;
import org.springframework.stereotype.Repository;

import java.util.List;

@Repository
@Mapper
public interface WxUserAddressDAO {

    int save(WxUserAddress wua);
    int update(WxUserAddress wua);
    int del(Integer id);
    int isindex(WxUserAddress wua);
    List<WxUserAddress> findByParam(WxUserAddress wua);

    WxUserAddress findByuserId(String userId);

    WxUserAddress findById(Integer id);
}
